Asset Source
Properties
Functions
Custom implementation of adding asset to asset source. This method will be invoked when ly.img.engine.AssetApi.addAsset is called for current sourceId.
Custom implementation of applying asset to the active scene. It is required to override this method only in case the asset needs to be applied differently compared to ly.img.engine.AssetApi.defaultApplyAsset. Implementation can be invoked via ly.img.engine.AssetApi.applyAssetSourceAsset where sourceId should be the sourceId of this AssetSource. If no custom implementation is provided, ly.img.engine.AssetApi.applyAssetSourceAsset will invoke ly.img.engine.AssetApi.defaultApplyAsset instead.
Custom implementation of applying asset to an existing block. It is required to override this method only in case the asset needs to be applied differently compared to ly.img.engine.AssetApi.defaultApplyAsset. Implementation can be invoked via ly.img.engine.AssetApi.applyAssetSourceAsset where sourceId should be the sourceId of this AssetSource. If no custom implementation is provided, ly.img.engine.AssetApi.applyAssetSourceAsset will invoke ly.img.engine.AssetApi.defaultApplyAsset instead.
Custom implementation of applying asset properties to the active scene. It is required to override this method only in case a property needs to be applied. Implementation can be invoked via ly.img.engine.AssetApi.applyAssetSourceProperty where sourceId should be the sourceId of this AssetSource.
Fetches an asset from the asset source. Implementation of this method is required to use ly.img.engine.AssetApi.fetchAsset. By default returns null.
Searches assets based on the query.
Custom implementation of removing asset from asset source. This method will be invoked when ly.img.engine.AssetApi.removeAsset is called for current sourceId.